package org.springblade.modules.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 新维修大屏 电梯统计VO
 * @author Sharry
 * @since 2023-10-19
 */
@Data
public class NewRepairScreenElevatorCountVO {
	/**
	 *  电梯总数
	 */
	private Integer elevatorNum;

	/**
	 * 合同生效(维保电梯)总数，即生效电梯合同数
	 */
	private Integer enContractElevatorCount;

	/**
	 * 故障电梯数
	 */
	private Integer repairElevator;

	/**
	 * 故障率
	 */
	private BigDecimal repairRate;

	/**
	 * 故障率百分比
	 */
	private String repairRatePercentage;

	/**
	 * 没事的电梯数
	 */
	private Integer noProblemElevatorCount;

	/**
	 * 重复故障电梯
	 */
	private Integer veryMuchProblemElevatorCount;

	/**
	 * 非重复故障梯
	 */
	private Integer singleProblemElevatorCount;

	/**
	 * 重复故障率
	 */
	private BigDecimal muchProblemRate;

	/**
	 * 重复故障率百分比
	 */
	private String muchProblemRatePercentage;

	@ApiModelProperty(value = "梯故障率月化")
	private String eleFaultRatioMonth;

	@ApiModelProperty(value = "重复故障率月化")
	private String eleRepeatFaultRatioMonth;

	public NewRepairScreenElevatorCountVO() {
		this.elevatorNum = 0;
		this.enContractElevatorCount = 0;
		this.repairElevator = 0;
		this.repairRate = BigDecimal.ZERO;
		this.repairRatePercentage = "0.0";
		this.noProblemElevatorCount = 0;
		this.veryMuchProblemElevatorCount = 0;
		this.singleProblemElevatorCount = 0;
		this.muchProblemRate = BigDecimal.ZERO;
		this.muchProblemRatePercentage = "0.0";
		this.eleFaultRatioMonth = "0.0";
		this.eleRepeatFaultRatioMonth = "0.0";
	}
}
